//
//  BLInfoSelectCell.m
//  Byelone
//
//  Created by 乔小乔 on 2021/1/23.
//

#import "BLInfoSelectCell.h"

@implementation BLInfoSelectCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
- (IBAction)clickBtn:(UIButton *)sender {
    if (sender.selected) {
        return;
    }
//    101女,102男
    sender.selected = YES;
    if (sender.tag == 101) {
        self.btnBoy.selected = NO;
    }else{
        self.btnGirl.selected = NO;
    }
    if (self.myBlock) {
        self.myBlock(sender.tag);
    }
}

@end
